#!/bin/bash
cd nginx-1.19.6
basedir=`cd ..; pwd -P`
echo $basedir
./configure --with-http_stub_status_module --with-http_ssl_module --add-module=../nginx-rtmp-module --with-debug --prefix=$basedir
#./configure --with-http_ssl_module --add-module=../nginx-rtmp-module --prefix=$basedir
make
make install
cp $basedir/nginx-rtmp-module/stat.xsl  html/
